package com.biostime.dingdingbox.modules.db.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.biostime.dingdingbox.common.mybatis.MyBatisDao;
import com.biostime.dingdingbox.common.persistence.CrudDao;
import com.biostime.dingdingbox.modules.db.dto.CommentDto;
import com.biostime.dingdingbox.modules.db.entity.Comment;

/**
 * 评论Dao
 * @author chenweicheng
 * @version 2016-06-29
 */
@MyBatisDao
public interface CommentDao extends CrudDao<Comment> {
	
	
	public int audit(Comment comment);
	
	public int apiGetCommentCount(String strategyId);
	
	public List<CommentDto>  apiGetCommentList(@Param("type")String type , @Param("objectId")String objectId);
	
}